package com.sys.basics.config.socketio.nameSpaceListener;

import com.corundumstudio.socketio.AckRequest;
import com.corundumstudio.socketio.SocketIOClient;
import com.corundumstudio.socketio.store.pubsub.DispatchMessage;
import com.sys.basics.config.socketio.data.ReceivedData;

public interface InterfaceEventListener {
    void onConnect(SocketIOClient client);

    void onDisconnect(SocketIOClient client);

    void onMessage(SocketIOClient client, ReceivedData receivedData, AckRequest ackSender);

    void sendEventToClient(DispatchMessage msg);

    void sendEventToClients(DispatchMessage msg);
}
